#include<iostream>
#include<string>
using namespace std;
class Person1
{
public:
	void person1show()
	{
		cout << "Person1 show" << endl;
	}
};
class Person2
{
public:
	void person2show()
	{
		cout << "Person2 show" << endl;
	}
};
template<class T>
class Myshow
{
public:
	T p;
	 void func1()
	{
		 p.person1show();
	}
	 void func2()
	 {
		  p.person2show();
	}
};
void test01()
{
	Myshow<Person1>p;
	p.func1();
	p.func2();
}
int main()
{
	test01();
	system("pause");
	
	return 0;
}